package com.marion.mzuul.entity.mongo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document(collection = "user_location")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserLocationMG {

    @Id
    private String id;

    private Long uid;

    private Integer gender;

    private String address;

    private List<Double> loc;

}
